<table class="f-docs-index">
<?php foreach ($functions as $name => $content) { ?>
	<?php
		$html = preg_replace('/^([a-zA-Z]+)\(\)/',
			'<span class="f-docs-f">$1<span class="f-docs-brackets">()</span></span>',$content[0]);
		$html = preg_replace('/\((.*?)\)/','(<span class="f-docs-params">$1</span>)',$html);
		$html = preg_replace('/->/',' &rarr; ',$html);
	?>
	<tr><td><?php echo $this->a('/docs/'.$name,$html); ?></td>
		<td class="f-docs-index-desc"><?php echo htmlspecialchars($content[1]); ?></td>
	</tr>
<?php } ?>
</table>